import httpInstance from '@/utils/http'
// API：/api/comment/likeComment
export const likeTarget = (targetId, targetType, isLiked) => {
  return httpInstance({
    url: `/api/like/likeTarget`,
    method: 'POST',
    data: {
      targetId: targetId, // commentId 对应 targetId
      targetType: targetType,
      isLiked: isLiked,
    },
  })
}
